
	var $box = $("#box");
	document.onselectstart=function(){return false;}
	var flag = false;

	var flagPhone=false;
	
	/*验证手机号*/
	var name,passWord,passWords;
	$("#register-phone").change(function(){
		name=$("#register-phone").val();
		if(name.length!=11){
			$("#register-phone").removeClass("form-control is-valid")
			$("#register-phone").addClass("form-control is-invalid");
			flagPhone=false;
		}else{
			$("#register-phone").removeClass("form-control is-invalid")
			$("#register-phone").addClass("form-control is-valid");
			flagPhone=true;
		}
	})